# $Id: PKGBUILD 59555 2011-11-28 01:48:10Z seblu $
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=vlan
pkgver=1.9
pkgrel=1
pkgdesc='Virtual LAN configuration utility'
arch=('i686' 'x86_64')
url='http://www.candelatech.com/~greear/vlan.html'
license=('GPL')
source=("http://www.candelatech.com/~greear/vlan/vlan.${pkgver}.tar.gz")
md5sums=('5f0c6060b33956fb16e11a15467dd394')

build() {
  cd vlan
  make clean all
}

package() {
  cd vlan
  install -D -m755 'vconfig' "$pkgdir/usr/sbin/vconfig"
  install -D -m755 'macvlan_config' "$pkgdir/usr/sbin/macvlan_config"
  install -D -m644 'vconfig.8' "$pkgdir/usr/share/man/man8/vconfig.8"
}

# vim:set ts=2 sw=2 ft=sh et:
